package com.wsoft.hr.pm.vo.member.template;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
 * @Author z001
 * @Date 2025/2/26 08:03
 */
@Data
public class MemberTemplateScopeVO {

    @NotNull
    @Schema(description = "id")
    private Long id;

    @Schema(description = "考评模板id")
    private Long memberTemplateId;

    @Schema(description = "维度id")
    private Long scopeId;

    @Schema(description = "维度名称")
    @NotBlank(message = "维度名称不能为空")
    private String name;

    @Schema(description = "权重")
    @NotNull(message = "权重不能为空")
    private BigDecimal weight;

    @Schema(description = "描述")
    private String description;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "是否可修改")
    private Integer isEdit;

    @Schema(description = "得分")
    private BigDecimal score;

    @Schema(description = "模板指标list")
    private List<MemberTemplateTargetHisVO> templateTargetHisList;
}
